﻿using System;

namespace Guesshoo.TrainExpress.Extensions
{
	public static class CustomExtensions
	{
		public static string FormatWith(this string pSource, params object[] args) {
			return String.Format(pSource, args);
		}

		public static void ThrowIfNull(this object pSource, string message) {
			DBC.AssertNotNull( pSource, message);
		}
	
	}
}